<!--代办任务-->
<template>
  <div class="app-container">
    <ht-table
      ref="dataTable"
      rowKey="id"
      :showSerialNumber="false"
      :multi-select="false"
      :dictMap="dictMap"
      :reqConfig="reqConfig"
      :queryParams="queryParams"
      :tableBindColumns="tableBindColumns"
      :opButtonList="opButtonList"
      :initData="true"
    >
      <template v-slot:name="slotProps">
        <router-link :to="'/'+slotProps.row.url" >
          {{ slotProps.row.name }}
        </router-link>
      </template>
    </ht-table>
  </div>
</template>
<script>
import { listPageMixin } from "@/libs/listPageMixin";
import { toDoListDataApi } from "@/api/cnaps/dashboard";

export default {
  name: "exceptionHandling_index",
  mixins: [listPageMixin],
  components: {
  },
  props: {},
  data() {
    return {
      reqConfig: toDoListDataApi,
      defaultEventKey: "",
      //数据字典
      searchFormDictList: [],
      // 遮罩层
      loading: true,
      // 弹出层标题
      title: "",
      showSearch: true,
      // 日期范围
      dateRange: [],
      // 查询参数
      queryParams: {
      },
      formOptions: [],
      opButtonList: () => {
        return [];
      },
      tableBindColumns: [
        { label: `任务名称`, prop: "name", align: "center" ,sortable: false,customSlot: true},
        { label: `代办数量`, prop: "num", align: "center" },
      ],
    };
  },
  mounted() {
    this.formOptions = [

    ];
  },
  methods: {
    /** todo 查询当天操作员的交易记录 */
    getList() {
      this.doQuery();
    },
  },
};
</script>
<style>
.label-header-msg {
  font-weight: bold;
}
</style>
